package com.tutu.user.service;

import java.util.List;

import com.tutu.user.entity.SysUserGroupMebers;

public interface ISysUserGroupMebersService {
	/**
	 * 设置用户角色
	 * @param sysUserGroupMebers
	 */
	public void saveSysUserGroupMebers(SysUserGroupMebers sysUserGroupMebers);
	/**
	 * 设置用户角色组
	 * @param sysUserGroupMebersList
	 */
	public void saveSysUserGroupMebersMany(List<SysUserGroupMebers> sysUserGroupMebersList);
	/**
	 * 获取用户权限
	 * @param sysUserGroupMebers
	 * @return
	 */
	public List<SysUserGroupMebers> getSysUserGroupMebers(SysUserGroupMebers sysUserGroupMebers);
	/**
	 * 获取角色中用户 
	 * @param sysUserGroupMebers
	 * @return
	 */
	List<SysUserGroupMebers> getSysUserGroupMebersByGroup(SysUserGroupMebers sysUserGroupMebers);
	/**
	 * 设置负责人
	 * @param sysUserGroupMebers
	 */
	void updateLeader(SysUserGroupMebers sysUserGroupMebers);
}
